Optimal. Leaf size=379 \[ \frac{3^{-n-1} e^{-\frac{3 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,-\frac{3 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{8 c^2 \sqrt{c x-1} \sqrt{c x+1}}-\frac{e^{-\frac{a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,-\frac{a+b \cosh ^{-1}(c x)}{b}\right )}{8 c^2 \sqrt{c x-1} \sqrt{c x+1}}+\frac{e^{a/b} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,\frac{a+b \cosh ^{-1}(c x)}{b}\right )}{8 c^2 \sqrt{c x-1} \sqrt{c x+1}}-\frac{3^{-n-1} e^{\frac{3 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,\frac{3 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{8 c^2 \sqrt{c x-1} \sqrt{c x+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.679973, antiderivative size = 379, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 5, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.185, Rules used = {5798, 5781, 5448, 3307, 2181} \[ \frac{3^{-n-1} e^{-\frac{3 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,-\frac{3 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{8 c^2 \sqrt{c x-1} \sqrt{c x+1}}-\frac{e^{-\frac{a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,-\frac{a+b \cosh ^{-1}(c x)}{b}\right )}{8 c^2 \sqrt{c x-1} \sqrt{c x+1}}+\frac{e^{a/b} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,\frac{a+b \cosh ^{-1}(c x)}{b}\right )}{8 c^2 \sqrt{c x-1} \sqrt{c x+1}}-\frac{3^{-n-1} e^{\frac{3 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,\frac{3 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{8 c^2 \sqrt{c x-1} \sqrt{c x+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5798
Rule 5781
Rule 5448
Rule 3307
Rule 2181
Rubi steps
\begin{align*} \int x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \, dx &=\frac{\sqrt{d-c^2 d x^2} \int x \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right )^n \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{\sqrt{d-c^2 d x^2} \operatorname{Subst}\left (\int (a+b x)^n \cosh (x) \sinh ^2(x) \, dx,x,\cosh ^{-1}(c x)\right )}{c^2 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{\sqrt{d-c^2 d x^2} \operatorname{Subst}\left (\int \left (-\frac{1}{4} (a+b x)^n \cosh (x)+\frac{1}{4} (a+b x)^n \cosh (3 x)\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{c^2 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{\sqrt{d-c^2 d x^2} \operatorname{Subst}\left (\int (a+b x)^n \cosh (x) \, dx,x,\cosh ^{-1}(c x)\right )}{4 c^2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\sqrt{d-c^2 d x^2} \operatorname{Subst}\left (\int (a+b x)^n \cosh (3 x) \, dx,x,\cosh ^{-1}(c x)\right )}{4 c^2 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{\sqrt{d-c^2 d x^2} \operatorname{Subst}\left (\int e^{-3 x} (a+b x)^n \, dx,x,\cosh ^{-1}(c x)\right )}{8 c^2 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\sqrt{d-c^2 d x^2} \operatorname{Subst}\left (\int e^{-x} (a+b x)^n \, dx,x,\cosh ^{-1}(c x)\right )}{8 c^2 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\sqrt{d-c^2 d x^2} \operatorname{Subst}\left (\int e^x (a+b x)^n \, dx,x,\cosh ^{-1}(c x)\right )}{8 c^2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\sqrt{d-c^2 d x^2} \operatorname{Subst}\left (\int e^{3 x} (a+b x)^n \, dx,x,\cosh ^{-1}(c x)\right )}{8 c^2 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{3^{-1-n} e^{-\frac{3 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,-\frac{3 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{8 c^2 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{e^{-\frac{a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,-\frac{a+b \cosh ^{-1}(c x)}{b}\right )}{8 c^2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{e^{a/b} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,\frac{a+b \cosh ^{-1}(c x)}{b}\right )}{8 c^2 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{3^{-1-n} e^{\frac{3 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,\frac{3 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{8 c^2 \sqrt{-1+c x} \sqrt{1+c x}}\\ \end{align*}
Mathematica [A] time = 1.24698, size = 241, normalized size = 0.64 \[ -\frac{d e^{-\frac{3 a}{b}} \sqrt{\frac{c x-1}{c x+1}} (c x+1) \left (a+b \cosh ^{-1}(c x)\right )^n \left (\left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \left (-3^{-n} e^{\frac{6 a}{b}} \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{2 n} \left (-\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{b^2}\right )^{-n} \text{Gamma}\left (n+1,\frac{3 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )+3^{-n} \text{Gamma}\left (n+1,-\frac{3 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )-3 e^{\frac{2 a}{b}} \text{Gamma}\left (n+1,-\frac{a+b \cosh ^{-1}(c x)}{b}\right )\right )+3 e^{\frac{4 a}{b}} \left (\frac{a}{b}+\cosh ^{-1}(c x)\right )^{-n} \text{Gamma}\left (n+1,\frac{a}{b}+\cosh ^{-1}(c x)\right )\right )}{24 c^2 \sqrt{-d (c x-1) (c x+1)}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.391, size = 0, normalized size = 0. \begin{align*} \int x \left ( a+b{\rm arccosh} \left (cx\right ) \right ) ^{n}\sqrt{-{c}^{2}d{x}^{2}+d}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{-c^{2} d x^{2} + d}{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}^{n} x\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\sqrt{-c^{2} d x^{2} + d}{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}^{n} x, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \sqrt{- d \left (c x - 1\right ) \left (c x + 1\right )} \left (a + b \operatorname{acosh}{\left (c x \right )}\right )^{n}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{0} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]